-
Notifications
You must be signed in to change notification settings - Fork 1.5k
RabbitMQ: Adding the queue_delivery_metrics
OpenMetrics endpoint
#19963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
queue_delivery_metrics
queue_delivery_metrics
OpenMetrics endpoint
Hello @edgrz, thank you for your contribution! It seems like they were added in this commit: rabbitmq/rabbitmq-server@bb93e71 Lastly, it would be great to include the new metrics in the tests as well! |
Hi @dkirov-dd, Thanks for the review. I'm using using rabbitMQ v4, which already exposes those. It was already part of v4.0.0, see. I updated manually the csv, but I'm facing an issue when setting up the dev environment locally following docs. By accident, when running the command
So:
I tried reinstalling, but even after a fresh install I'm getting the same error, so I'm guessing there's still a file somewhere that it's not being cleaned up when I do uninstall
Could you help me please? I wanted te implement a test scenario to cover it, but I haven't been able yet. |
nevermind @dkirov-dd, I managed to fix it. I had to also remove an extra file I'll introduce rabbitMQ 4.0 version in the |
Nice! Let me know if you need any help from my side. |
Hi @dkirov-dd, I have introduced the v4.0 testing, as well as appended to existing I introduced a new test scenario that covers the new detailed endpoint with a I had to modify the Could you maybe help me or make the necessary fixes please? |
Review from NouemanKHAL is dismissed. Related teams and files:
- agent-integrations
- rabbitmq/changelog.d/19963.added
…19963) * Integrating queue_delivery_metrics endpoint * csv * metadata * fixing csv * Tests * changelog * linting * skipif test * Format with `ddev test -fs rabbitmq` * Make tests pass * Implement review suggestions * Update changelog --------- Co-authored-by: David Kirov <[email protected]> Co-authored-by: NouemanKHAL <[email protected]> Co-authored-by: dkirov-dd <[email protected]> (cherry picked from commit 8ffbb76)
…19963) (#20116) * Integrating queue_delivery_metrics endpoint * csv * metadata * fixing csv * Tests * changelog * linting * skipif test * Format with `ddev test -fs rabbitmq` * Make tests pass * Implement review suggestions * Update changelog --------- Co-authored-by: David Kirov <[email protected]> Co-authored-by: NouemanKHAL <[email protected]> Co-authored-by: dkirov-dd <[email protected]> (cherry picked from commit 8ffbb76) Co-authored-by: edgrz <[email protected]>
Hello @edgrz, this change will be included in the |
thanks @dkirov-dd for the review and help! |
What does this PR do?
As part of
/detailed
metric endpoints, there's a queue delivery metrics one (docs), that were not integrated yet into datadog agent. This PR integrates them.Motivation
I prepared the DD agent to scrape such
/detailed?family=queue_delivery_metrics
but none of them were appearing in DD. So, looking into the source code I realize there was yet no mapping for there.Review checklist (to be filled by reviewers)
qa/skip-qa
label if the PR doesn't need to be tested during QA.